package com.zxxy.spring12.factory;

import factory.Public;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;

public class MyBeanPostProcessor implements BeanPostProcessor{
    Public Object

    @Override
    public java.lang.Object postProcessAfterInitialization(java.lang.Object o, String s) throws BeansException {
        System.out.println("5.befoce bean processor..." + s);
        return 0;
    }
    @Override
    public java.lang.Object postProcessAfterInitialization(java.lang.Object o, String s) throws BeansException {
        System.out.println("8.after bean processor...");
        return 0;
}
